WPPayForm\App\Models\SubscriptionTransaction S

Total Complexity 22
Dependencies 2
Dependents 6
Total lines 150
Lines of code 107
Logical lines of code 50
Comment lines 4
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
createSubsTransaction()
S
60 4 13
maybeInsertCharge()
S
53 3 24
getPaymentTotal()
S
59 3 14
getRefundAvailableAttribute()
S
65 3 9
getSubscriptionTransactions()
S
64 2 9
getPaymentCounts()
S
63 2 10
getTransactions()
S
70 1 6
hasSubscription()
S
70 1 6
getTransaction()
S
73 1 5
getLastSubscriptionTransaction()
S
71 1 6
updateSubsTransaction()
S
71 1 5